package it.antonio.ilpizze.mock.matchers;

import it.antonio.ilpizze.mock.ArgumentMatcher;

public class EqualArgumentMatcher implements ArgumentMatcher{

	private Object instance;
	
	
	public EqualArgumentMatcher(Object  instance) {
		super();
		this.instance = instance;
	}

	@Override
	public boolean matches(Object anotherInstance) {
		return instance.equals(anotherInstance);
	}

}
